﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Booking.aspx.cs" EnableViewState="true" Inherits="SoftwareEngineering_Project.Booking" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    
    <style type="text/css">

        .style3
        {
            width: 100%;
        }
        .style4
        {
            width: 320px;
            color: #000000;
        }
        .style19
        {
            color: #000000;
            width: 313px;
        }
        .style9
        {
            color: #000000;
        }
        .style7
        {
            width: 320px;
            height: 16px;
        }
        .style18
        {
            height: 16px;
            width: 313px;
        }
        .style8
        {
            height: 16px;
        }
        .style14
        {
            width: 320px;
            height: 8px;
            color: #000000;
        }
        .style20
        {
            height: 8px;
            width: 150px;
            color: #000000;
        }
        .style22
        {
            height: 8px;
            width: 76px;
            color: #000000;
        }
        .style16
        {
            width: 320px;
            height: 6px;
        }
        .style21
        {
            height: 6px;
            width: 150px;
        }
        .style23
        {
            height: 6px;
            width: 76px;
        }
        .style24
        {
            height: 21px;
            color: #993300;
            font-weight: bold;
        }
        .style25
        {
            height: 7px;
        }
        .style27
        {
            height: 36px;
            text-align: left;
            color: #000000;
        }
        .style5
        {
            height: 36px;
            text-align: left;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Schedule a new event:</h2>
<p class="style1">
    <strong>Please specify the type of the conference:<br /></strong>
    <asp:DropDownList ID="ConferenceType" runat="server" AutoPostBack="True">
    </asp:DropDownList>
</p>
<p class="style1">
    <table class="style3" frame="box">
        <tr>
            <td class="style4">
                    Title of the meeting:</td>
            <td class="style19" colspan="3">
                    Organizer:</td>
            <td class="style9">
                    Location:</td>
        </tr>
        <tr>
            <td class="style7">
                <asp:TextBox ID="title" runat="server" Width="271px" CssClass="bold"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Title is Required"
                    ControlToValidate="title"></asp:RequiredFieldValidator>
            </td>
            <td class="style18" colspan="3">
                <asp:TextBox ID="Organizer" runat="server" Width="227px" CssClass="bold"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Organizer is Required"
                    ControlToValidate="Organizer"></asp:RequiredFieldValidator>
            </td>
            <td class="style8">
                <asp:DropDownList ID="Location" runat="server" CssClass="bold">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style14">
                    Date:</td>
            <td class="style20">
                    Start time:</td>
            <td class="style22" colspan="2">
                    End time:</span></td>
        </tr>
        <tr>
            <td class="style16">
                <asp:TextBox ID="date" runat="server"></asp:TextBox>
                <asp:MaskedEditExtender ID="date_MaskedEditExtender" runat="server" 
                    Century="2000" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                    CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                    CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                    Mask="99/99/9999" MaskType="Date" TargetControlID="date">
                </asp:MaskedEditExtender>
                <asp:CalendarExtender ID="date_CalendarExtender" runat="server" 
                    TargetControlID="date">
                </asp:CalendarExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Date is Required"
                    ControlToValidate="date"></asp:RequiredFieldValidator>
            </td>
            <td class="style21">
                <asp:TextBox ID="starttime" runat="server" CssClass="bold"></asp:TextBox>
                <asp:MaskedEditExtender ID="starttime_MaskedEditExtender" runat="server" 
                    AcceptAMPM="True" Century="2000" CultureAMPMPlaceholder="" 
                    CultureCurrencySymbolPlaceholder="" CultureDateFormat="" 
                    CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                    CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                    Mask="99:99" MaskType="Time" TargetControlID="starttime">
                </asp:MaskedEditExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Start Time is Required"
                    ControlToValidate="starttime"></asp:RequiredFieldValidator>
            </td>
            <td class="style23" colspan="2">
                <asp:TextBox ID="endtime" runat="server" CssClass="bold" 
                    ontextchanged="endtime_TextChanged"></asp:TextBox>
                <asp:MaskedEditExtender ID="endtime_MaskedEditExtender" runat="server" 
                    AcceptAMPM="True" Century="2000" CultureAMPMPlaceholder="" 
                    CultureCurrencySymbolPlaceholder="" CultureDateFormat="" 
                    CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                    CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                    Mask="99:99" MaskType="Time" TargetControlID="endtime">
                </asp:MaskedEditExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="End Time is Required"
                    ControlToValidate="endtime"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style24" colspan="5">
                <strong>More details:</strong></td>
        </tr>
        <tr class="style9">
            <td class="style25">
                    Record this conference (Audio)</td>
            <td class="style25" colspan="2">
                    Record this conference (Video)</td>
            <td class="style25" colspan="2">
                    Do you need presentation?</td>
        </tr>
        <tr>
            <td class="style27">
                <i>
                <asp:RadioButton ID="AudioYes" runat="server" GroupName="Gaudio" Text="Yes" />
                <asp:RadioButton ID="AudioNo" runat="server" Checked="True" GroupName="Gaudio" 
                        Text="No" />
                </i>
            </td>
            <td class="style5" colspan="2">
                <i>
                <asp:RadioButton ID="VideoYes" runat="server" CssClass="style9" 
                        GroupName="Gvideo" Text="Yes" />
                </i><span class="style9"><i>
                <asp:RadioButton ID="VideoNo" runat="server" Checked="True" GroupName="Gvideo" 
                        Text="No" />
                </i>
            </td>
            <td class="style5" colspan="2">
                <i>
                    </span>
                    <asp:RadioButton ID="PresentationYes" runat="server" GroupName="Gpresentation" 
                        Text="Yes" />
                <asp:RadioButton ID="PresentationNO" runat="server" Checked="True" 
                        GroupName="Gpresentation" Text="No" />
                </i></span>
                </td>
        </tr>
        <tr>
            <td class="style5" colspan="5">
                <asp:Button ID="Save" runat="server" ForeColor="Maroon" Text="Save" 
                        Width="72px" CssClass="bold" onclick="Save_Click" />
    <asp:Label ID="Errormessage" runat="server" Font-Bold="True" 
        ForeColor="#CC3300" Text="Label" Visible="False"></asp:Label>
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                </asp:ToolkitScriptManager>
            </td>
        </tr>
    </table>
</p>

</asp:Content>

